<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Google Cloud Vision API with Spring code sample</title>
</head>
<body>

<div>
    <h1>Image Label Annotations</h1>
    <p>Returns labels classifying the content of the image:</p>
    <form action="/extractLabels">
        Web URL of image to analyze:
        <input type="text"
               name="imageUrl"
               value="https://upload.wikimedia.org/wikipedia/commons/d/d7/Boston-terrier-carlos-de.JPG"/>

        <input type="submit"/>
    </form>
</div>

<div>
    <h1>Text Extraction</h1>
    <p>Read and extract the text from the image:</p>
    <form action="/extractText">
        Web URL of image to analyze:
        <input type="text"
               name="imageUrl"
               value="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" />
        <input type="submit" />
    </form>
</div>

</body>
</html>
